Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcTrendFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 1 - 4 items: known_y's, [known_x's], [new_x's], [const].

Known_y's is the set of y-values you already know in the relationship y = mx + b.

Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

New_x's are new x-values for which you want TREND to return corresponding y-values.

Const is a logical value specifying whether to force the constant b to equal 0.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns an GrapeCity.CalcEngine.CalcArray array of y-values along a linear trend.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcTrendFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 1 - 4 items: known_y's, [known_x's], [new_x's], [const].

    Known_y's is the set of y-values you already know in the relationship y = mx + b.

    Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

    New_x's are new x-values for which you want TREND to return corresponding y-values.

    Const is a logical value specifying whether to force the constant b to equal 0.

    Return Value

    A GrapeCity.CalcEngine.CalcArray value that indicates the evaluate result.
    See Also